package com.itboye.mybatis.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.itboye.mybatis.enumtype.DataStatus;

/**
 * UserPictureModel.java
 * Created on  2016/8/1 09:25
 * 版本       修改时间          作者      修改内容
 * V1.0.1    2016/8/1      hebidu    初始版本
 * <p>
 * Copyright (c) 2013 杭州博也网络科技有限公司 版权所有
 * HANGZHOU BOYE TECHNOLOGY CO.,LTD. All Rights Reserved.
 */

@JsonIgnoreProperties(value = {"status","md5","sha1"})
public class UserPictureModel {



    @Override
    public String toString() {
        return "UserPictureModel{" +
                "id=" + id +
                ", path='" + path + '\'' +
                ", uid=" + uid +
                ", oriName='" + oriName + '\'' +
                ", saveName='" + saveName + '\'' +
                ", size=" + size +
                ", url='" + url + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", md5='" + md5 + '\'' +
                ", sha1='" + sha1 + '\'' +
                ", status=" + status +
                ", createTime=" + createTime +
                ", type='" + type + '\'' +
                ", ext='" + ext + '\'' +
                '}';
    }

    private int id;
    private String path;
    private int uid;
    private String oriName;
    private String saveName;
    private int size;
    private String url;
    private String imgUrl;
    private String md5;
    private String sha1;
    private DataStatus status;
    private int createTime;
    private String type;
    private String ext;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getOriName() {
        return oriName;
    }

    public void setOriName(String oriName) {
        this.oriName = oriName;
    }

    public String getSaveName() {
        return saveName;
    }

    public void setSaveName(String saveName) {
        this.saveName = saveName;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public String getSha1() {
        return sha1;
    }

    public void setSha1(String sha1) {
        this.sha1 = sha1;
    }

    public DataStatus getStatus() {
        return status;
    }

    public void setStatus(DataStatus status) {
        this.status = status;
    }

    public int getCreateTime() {
        return createTime;
    }

    public void setCreateTime(int createTime) {
        this.createTime = createTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }
}
